package exercises.Charpter8;

public class Five {
	static void ride(Cycle me){
		System.out.println(me.wheels());
	}
	public static void main(String[] args){
		Cycle one = new Cycle();
		Unicycle two = new Unicycle();
		Bicycle three = new Bicycle();
		Tricycle four = new Tricycle();
		
		ride(one);
		ride(two);
		ride(three);
		ride(four);
	}
}
